
#pragma once

enum FRIDGE_AUDIO_CHANNEL
{
	CHANNEL_LEFT,
	CHANNEL_RIGHT,
	CHANNEL_MONO
};

static const u_int uNUM_OSC_SAMPLES = 1024;

class AudioHelper
{
	public:

		static void Initialise();
		static void Update();
		static void Shutdown();

		static float GetOsc( float fTime, float fWidth, FRIDGE_AUDIO_CHANNEL eChannel );

	private:

		static void Platform_Initialise();
		static void Platform_Update();
		static void Platform_Shutdown();

		static float s_afLeftSamples[ uNUM_OSC_SAMPLES ];
		static float s_afRightSamples[ uNUM_OSC_SAMPLES ];
};

// eof
